export default {
	// 用户
	frineds: function() {
		let friendarr = [{
				_id: 1,
				name: "尤自搏",
				time: new Date(),
				news: "stop tryin"
			},
			{
				_id: 2,
				name: "赵金波",
				time: new Date(),
				news: "哈哈"
			},
			{
				_id: 3,
				name: "陈雪宜",
				time: new Date(),
				news: "呜呜呜呜呜呜呜呜呜"
			},
			{
				_id: 4,
				name: "赵贺洋",
				time: new Date(),
				news: "11111111"
			}
		];
		return friendarr;
	},
	// 聊天
	message: function() {
		let msgs = [{
				_id: "a", //用户id
				imgurl: "yyy.jpg", //头像
				time: new Date() - 1000 * 60 * 60 * 241, //发送得时间
				message: {
					voice: 'a',
					time: 60,
				}, //内容
				types: 2, //内容类型（0文字，1图片链接，2音频,3地图位置）
				tip: 9
			},
			{
				_id: "b", //用户id
				imgurl: "yl.png", //头像
				time: new Date() - 1000 * 60 * 60 * 241, //发送得时间
				message: {
					voice: 'a',
					time: 20,
				}, //内容
				types: 2, //内容类型（0文字，1图片链接，2音频,3地图位置）
				tip: 10
			},
			{
				_id: "b", //用户id
				imgurl: "yl.png", //头像
				time: new Date() - 1000 * 60 * 60 * 241 - 1000 * 60 * 60 * 241, //发送得时间
				message: {
					name: "天安门",
					address: "东长安街",
					latitude: "39.909473",
					longitude: "116"
				}, //内容
				types: 3, //内容类型（0文字，1图片链接，2音频,3地图位置）
				tip: 11
			},
			{
				_id: "a", //用户id
				imgurl: "yyy.jpg", //头像
				time: new Date() - 1000 * 60 * 60 * 241 - 1000 * 60 * 60 * 241, //发送得时间
				message: {
					name: "天安门11",
					address: "东长安街11",
					latitude: "39.909473",
					longitude: "116"
				}, //内容
				types: 3, //内容类型（0文字，1图片链接，2音频,3地图位置）
				tip: 12
			},
			{
				_id: "a",
				imgurl: "yyy.jpg",
				time: new Date() - 1000 * 16,
				message: "哈喽哈喽",
				types: 0,
				tip: 1
			},
			{
				_id: "b",
				imgurl: "yl.png",
				time: new Date() - 1000 * 60,
				message: "哈哈哈哈哈哈",
				types: 0,
				tip: 2
			},
			{
				_id: "b",
				imgurl: "yl.png",
				time: new Date() - 1000 * 60 * 36,
				message: "我这这样的",
				types: 0,
				tip: 3
			},
			{
				_id: "a",
				imgurl: "yyy.jpg",
				time: new Date() - 1000 * 60 * 40,
				message: "yyy.jpg",
				types: 1,
				tip: 4
			},
			{
				_id: "b",
				imgurl: "yl.png",
				time: new Date() - 1000 * 60 * 57,
				message: "yl.png",
				types: 1,
				tip: 5
			},
			{
				_id: "a",
				imgurl: "yyy.jpg",
				time: new Date() - 1000 * 60 * 60,
				message: "这个我就是封装了个组件，直接导入就行",
				types: 0,
				tip: 6
			},
			{
				_id: "a",
				imgurl: "yyy.jpg",
				time: new Date() - 1000 * 60 * 60 * 240,
				message: "🎧 ︎ı||ııı||ı|",
				types: 0,
				tip: 7
			},
			{
				_id: "b",
				imgurl: "yl.png",
				time: new Date() - 1000 * 60 * 60 * 241,
				message: "📸𝕡𝕙𝕠𝕥𝕠𝕤⁺",
				types: 0,
				tip: 8
			}
		];
		return msgs;
	}
}